import math

a,b,c=eval(input("Please input three numbers"))

if a+b>c and b+c>a and a+c>b:
    print("The input is appropriate.")
    d=a+b+c
    p=d/2
    s=math.sqrt((p*(p-a)*(p-b)*(p-c)))
    print(" circumference:{0:<5d},Square:{1:f}".format(d,s))
else:
    print("Error input!")


a=[1,2,3,4]
number=[]
count=0

for b in a:
    for c in a:
        for d in a:
            number.append(b*100+c*10+c)
            count+=1

print(f"The times is {count}\n")

number.sort()

print(number)
